package com.yang.qgg_demo.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import java.io.Serializable;

/**
 * 购物车
 */
@Data
@TableName("shoppingcart")
public class ShoppingCart implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId("shoppingcartid")
    private int shoppingcartid;


    //用户id
    private int userid;

    //商品id
    private int goodsid;

    //分类id
    private int categoryid;

    //商品单价
    private int price;

    //数量
    private int number;

    //金额
    private double money;

}
